package com.example.tech34Base64;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class JdbcController {

    private static Logger LOGGER = LoggerFactory.getLogger(JdbcController.class);

    @GetMapping("jdbc")
    public String jdbc() {
        try {
            //http://127.0.0.1:1111/jdbc
            sqlmanage sqlmanage=new sqlmanage();
            System.out.println("111");
        }catch (Exception e){
            LOGGER.error("jdbc：报错："+e.getMessage(),e);
        }
        return "success";
    }

}
